AlarmListGetCursor

 

The 'AlarmListGetCursor' function returns the currently selected position in Alarm Window.

 

int AlarmListGetCursor(string alarm_name);

 

Parameters

alarm_name : Class name of Alarm Window.

 

Return Value

Selected position

 

Example 1

cursor = @AlarmListGetCursor("Alarm1");

Description : The value of the currently selected position in Alarm Window is stored in the variable named 'cursor'.

 

Example 2

cursor = @AlarmListGetCursor("Alarm1");

// The value of the currently selected position in Alarm Window is stored in the variable named 'cursor'.

@AlarmListConfirm("Alarm1",cursor);

// The alarm of selected position(= value of 'cursor') is confirmed in Alarm Window.

 

Example 3

cursor = @AlarmListGetCursor("Alarm1");

// The value of the currently selected position in Alarm Window is stored in the variable named 'sursor'.

@AlarmListDelete("Alarm1",cursor);

// The alarm of selected position(= value of 'cursor') is deleted in Alarm Window.

 

Relate items)

@AlarmGetSoundFlag()

@AlarmListConfirm()

@AlarmListDelete()

@AlarmListGetCursor()

@AlarmListSetCursor()

@AlarmListSetFilter()

@AlarmSetSoundFlag()

@AlarmSoundConfirm()